package rb;

public class test {
    public static void main(String[] args) {
        RBTree rbTree = new RBTree();
        int[] arr = {8,4,3,9,10};
        for(int i = 0; i < 4; i++) {
            rbTree.insert(arr[i]);
        }
        System.out.println(rbTree.isRBTree(rbTree.root));
    }
}
